package cn.tedu.inter3;

public class Inter {

}
interface People{
     void eat();
     void slppp();
}
class Teacher implements People{
    @Override
    public void eat() {
        System.out.println("在教室食堂吃饭");
    }

    @Override
    public void slppp() {
        System.out.println("在学校公寓睡觉");
    }
}
class Student implements People{
    @Override
    public void eat() {
        System.out.println("在食堂吃饭");
    }

    @Override
    public void slppp() {
        System.out.println("在寝室睡觉");
    }
}
class Parents implements People{

    @Override
    public void eat() {
        System.out.println("在招待所吃饭");
    }

    @Override
    public void slppp() {
        System.out.println("在招待所睡觉");
    }
}